package com.xxg.renrenorder.strategy;

import com.xxg.renrencommon.exception.OrderManagerException;
import com.xxg.renrenorder.dao.AfterSalesOrderInfoDao;
import com.xxg.renrenorder.dao.bean.AfterSalesOrderInfo;
import com.xxg.renrenorder.dao.bean.OrderMasterInfo;

/**
 * 类说明
 *
 * @author szj
 * @date 2021/12/17
 */
public interface AfterSalesStrategy {
    /**
     * 处理售后
     *
     * @param afterSalesOrderInfo 售后信息
     * @param orderMasterInfo 订单信息
     * @throws OrderManagerException 异常信息
     */
    void handlerAfterSalesOrderInfo(AfterSalesOrderInfo afterSalesOrderInfo, OrderMasterInfo orderMasterInfo, boolean isApply) throws OrderManagerException;

    void setAfterSalesOrderInfoDao(AfterSalesOrderInfoDao afterSalesOrderInfoDao);

    Boolean getReturnProduct();
}
